package com.qfedu.dtboot.dao;

import com.qfedu.dtboot.entity.ScheduleJob;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 定时任务(ScheduleJob)表数据库访问层
 *
 * @author ykx
 * @since 2022-09-27 13:04:17
 */
public interface ScheduleJobDao {
    List<ScheduleJob> queryAllJobByLimit(Map<String, Object> params);
    Integer queryJobCount();
    Integer insert(ScheduleJob scheduleJob);
    Integer update(ScheduleJob scheduleJob);
    ScheduleJob queryById(Long jobId);
    Integer deleteBatch(Long[] ids);
    Integer updateStatusBatch(@Param("ids") Long[] ids,@Param("status") Boolean status);
}

